<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ taglib prefix="sales" tagdir="/WEB-INF/tags/sales"%>
<html>
	<title>${promoRule.name}</title>
	<meta name="keywords" content="${promoRule.name}" />
	<meta name="description" content="${promoRule.description}" />
	<body>
		<%---------------------------------start:当前位置 -------------------------%>
		<div class="position"><fmt:message key="position.your"/>
			<sales:promoRuleNavigation promoRuleId="${promoRule.promoRuleId}"/>
		</div>
		<%---------------------------------end:  当前位置 -------------------------%>
			
		<div class="promotion_info">
		 	<div class="top">
		 		<h3><fmt:message key="contentList.font.size"/>：
		 			<span class="f_small <c:if test="${empty listFontSize or listFontSize == 1}">curr</c:if>" onclick="changeContentListStyle(1,this);"><fmt:message key="contentList.font.size.small"/></span>
		 			<span class="f_big <c:if test="${listFontSize == 2}">curr</c:if>" onclick="changeContentListStyle(2,this);"><fmt:message key="contentList.font.size.big"/></span>
		 			<input type="hidden" id="listFontSize" name="listFontSize" value="${listFontSize}"/>
		 		</h3>
		 	</div>
		 	<c:choose>
		 		<c:when test="${empty listFontSize or listFontSize == 1}">
		 			<c:set var="fontSizeClass"  value="c_f_small"/>
		 		</c:when>
		 		<c:otherwise>
		 			<c:set var="fontSizeClass"  value="c_f_big"/>
		 		</c:otherwise>
		 	</c:choose>
		 	<div class="content ${fontSizeClass}" id="contentList">
	 			<%@ include file="include/promoRuleItem.jspf"%>
		 	</div>
		</div>		
		<script type="text/javascript"	src="${ctxPath}/scripts/probiz/content/contentDetail.js?rs=${appConfig.rs}"></script>	
		<script type="text/javascript" defer>
			$j(document).ready(function () {
			});
		</script>
	</body>
</html>